--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:b4452087caf1040d6d846ec616ef57a6$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- t01
            x=1,
            y=1,
            width=64,
            height=64,

        },
        {
            -- t02
            x=67,
            y=1,
            width=64,
            height=64,

        },
        {
            -- t03
            x=133,
            y=1,
            width=64,
            height=64,

        },
        {
            -- t04
            x=1,
            y=67,
            width=64,
            height=64,

        },
        {
            -- t05
            x=67,
            y=67,
            width=64,
            height=64,

        },
        {
            -- t06
            x=133,
            y=67,
            width=64,
            height=64,

        },
        {
            -- t07
            x=1,
            y=133,
            width=64,
            height=64,

        },
        {
            -- t08
            x=67,
            y=133,
            width=64,
            height=64,

        },
        {
            -- t09
            x=133,
            y=133,
            width=64,
            height=64,

        },
        {
            -- t10
            x=1,
            y=199,
            width=64,
            height=64,

        },
        {
            -- t11
            x=67,
            y=199,
            width=64,
            height=64,

        },
        {
            -- t12
            x=133,
            y=199,
            width=64,
            height=64,

        },
        {
            -- t13
            x=1,
            y=265,
            width=64,
            height=64,

        },
    },
    
    sheetContentWidth = 256,
    sheetContentHeight = 512
}

SheetInfo.frameIndex =
{

    ["t01"] = 1,
    ["t02"] = 2,
    ["t03"] = 3,
    ["t04"] = 4,
    ["t05"] = 5,
    ["t06"] = 6,
    ["t07"] = 7,
    ["t08"] = 8,
    ["t09"] = 9,
    ["t10"] = 10,
    ["t11"] = 11,
    ["t12"] = 12,
    ["t13"] = 13,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
